--- $schema: "https://json-schema.org/draft-04/schema" id: "https://stsci.edu/schemas/yaml-schema/draft-01" title: YAML Schema type: object properties: points: $ref: '#/components/schemas/points' panels: type: object additionalProperties: type: object properties: allowances: type: object properties: hem: type: string seam: type: string points: $ref: '#/components/schemas/points' lines: type: array items: $ref: '#/components/schemas/line' information: allOf: - $ref: '#/components/schemas/point' - type: object properties: anchor: type: string enum: [top, center, bottom, left, right] components: schemas: point: type: object properties: position: $ref: '#/components/schemas/position' relativeTo: $ref: '#/components/schemas/pointID' description: type: string between: type: object properties: from: $ref: '#/components/schemas/pointID' to: $ref: '#/components/schemas/pointID' offset: $ref: '#/components/schemas/expression' hide: type: bool points: type: object additionalProperties: $ref: '#/components/schemas/point' position: type: object properties: y: type: string x: type: string rotation: type: string line: type: object properties: through: type: array items: $ref: '#/components/schemas/pointID' curve: type: object properties: start: $ref: '#/components/schemas/pointID' end: type: $ref: '#/components/schemas/pointID' pointID: oneOf: - type: integer - type: string expression: oneOf: - type: integer - type: string