brevoza/church-of-jesus-christ-temples

brevoza.config.yml

collections:
  temples:
    config: collections/temples.yml

Viewing: brevoza/church-of-jesus-christ-temples on branch main

Collections

temples

collection: temples
description: >
  All temples of the Church of Jesus Christ of Latter-day Saints.

storage:
  path: temples/
  format: json
  idField: id

workflow:
  type: proposal
  requireReview: true

schema:
  type: object
  additionalProperties: false
  required:
    - id
    - name
    - status
    - location

  properties:
    id:
      type: string
      pattern: "^[a-z0-9-]+$"
      description: Unique slug identifier

    name:
      type: string

    description:
      type: string

    status:
      type: string
      enum:
        - Announced
        - Under Construction
        - Dedicated
        - Rededicated
        - Closed

    __createTime:
      type: string
      format: date-time
      readOnly: true

    __updateTime:
      type: string
      format: date-time
      readOnly: true

    info:
      type: object
      additionalProperties: false
      properties:
        height:
          type: string
        totalfloorarea:
          type: string
        numberDedicated:
          type: integer
          minimum: 0
        rooms:
          type: object
          additionalProperties: false
          properties:
            baptistry:
              type: integer
            sealing:
              type: integer
            instruction:
              type: integer

    location:
      type: object
      additionalProperties: false
      required:
        - country
        - city
      properties:
        latitude:
          type: number
          minimum: -90
          maximum: 90
        longitude:
          type: number
          minimum: -180
          maximum: 180
        address:
          type: string
        city:
          type: string
        state:
          type: string
        postalCode:
          type: string
        country:
          type: string
        officialLocation:
          type: string

    timeline:
      type: array
      items:
        type: object
        additionalProperties: false
        required:
          - date
          - milestone
        properties:
          date:
            type: string
          milestone:
            type: string
          by:
            type: string

    services:
      type: object
      additionalProperties: false
      properties:
        templeClothing:
          type: boolean
        visitorsCenter:
          type: boolean
        distributionCenter:
          type: boolean
        arrivalCenter:
          type: boolean
        templeHousing:
          type: boolean

    media:
      type: array
      items:
        type: object
        additionalProperties: false
        required:
          - type
          - subject
        properties:
          type:
            type: string
            enum: [photograph, video]
          subject:
            type: string
          caption:
            type: string
          credit:
            type: string
          thumb:
            type: string
            format: uri
          full:
            type: string
            format: uri
          youtubeID:
            type: string

Items

Create New Item