--- $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' polar: $ref: '#/components/schemas/polar' description: type: string between: $ref: '#/components/schemas/between' hide: type: bool extend: $ref: '#/components/schemas/between' points: type: object additionalProperties: $ref: '#/components/schemas/point' position: type: object properties: y: $ref: '#/components/schemas/expression' x: $ref: '#/components/schemas/expression' rotation: $ref: '#/components/schemas/expression' polar: type: object properties: length: $ref: '#/components/schemas/expression' rotation: $ref: '#/components/schemas/expression' between: type: object properties: from: $ref: '#/components/schemas/pointID' to: $ref: '#/components/schemas/pointID' offset: $ref: '#/components/schemas/expression' line: type: object properties: through: type: array items: $ref: '#/components/schemas/pointID' curve: type: object properties: start: $ref: '#/components/schemas/pointID' end: $ref: '#/components/schemas/pointID' pointID: oneOf: - type: integer - type: string expression: oneOf: - type: number - type: string