program-1.0.0

Program Information

Outline

Schema Definitions

This type is an object with the following properties:

  • title

    stringRequired

    The submitted proposal title of the program.

    No length restriction
  • pi_name

    stringRequired

    The name of the Principal Investigator (PI) of the program.

    No length restriction
  • category

    stringRequired

    The category of the program.

    No length restriction
  • subcategory

    stringRequired

    The subcategory of the program.

    No length restriction
  • science_category

    stringRequired

    The science category assigned during the Telescope Allocation Committee (TAC) process.

    No length restriction
  • continuation_id

    integerRequired

    The identifier that marks the program as a continuation of a previous program.

Original Schema

%YAML 1.1
---
$schema: asdf://stsci.edu/datamodels/roman/schemas/rad_schema-1.0.0
id: asdf://stsci.edu/datamodels/roman/schemas/program-1.0.0

title: Program Information
type: object
properties:
  title:
    title: Proposal Title
    description: |
      The submitted proposal title of the program.
    type: string
    sdf:
      special_processing: VALUE_REQUIRED
      source:
        origin: PSS:dms_program.title
    archive_catalog:
      datatype: nvarchar(200)
      destination: [WFIExposure.program_title, WFIMosaic.program_title, GuideWindow.program_title,
                    SourceCatalog.program_title, SegmentationMap.program_title]
  pi_name:
    title: Principal Investigator Name
    description: |
      The name of the Principal Investigator (PI) of the program.
    type: string
    sdf:
      special_processing: VALUE_REQUIRED
      source:
        # There are a number of ways to get the pi_name.  Here is one
        # of them: "= apt('./ProposalInformation/PrincipalInvestigator/InvestigatorAddress/LastName') + ', ' + apt('./ProposalInformation/PrincipalInvestigator/InvestigatorAddress/FirstName')"
        origin: TBD
    archive_catalog:
      datatype: nvarchar(100)
      destination: [WFIExposure.pi_name, WFIMosaic.pi_name, GuideWindow.pi_name,
                    SourceCatalog.pi_name, SegmentationMap.pi_name]
  category:
    title: Program Category
    description: |
      The category of the program.
    type: string
    sdf:
      special_processing: VALUE_REQUIRED
      source:
        origin: PSS:dms_program.category
    archive_catalog:
      datatype: nvarchar(6)
      destination: [WFIExposure.program_category, WFIMosaic.program_category, GuideWindow.program_category,
                    SourceCatalog.program_category, SegmentationMap.program_category]
  subcategory:
    title: Program Subcategory
    description: |
      The subcategory of the program.
    type: string
    sdf:
      special_processing: VALUE_REQUIRED
      source:
        origin: PSS:dms_program.subcategory
    archive_catalog:
      datatype: nvarchar(15)
      destination: [WFIExposure.program_subcategory, WFIMosaic.program_subcategory, GuideWindow.program_subcategory,
                    SourceCatalog.program_subcategory, SegmentationMap.program_subcategory]
  science_category:
    title: Science Category
    description: |
      The science category assigned during the Telescope Allocation Committee
      (TAC) process.
    type: string
    sdf:
      special_processing: VALUE_REQUIRED
      source:
        origin: PSS:dms_program.science_category
    archive_catalog:
      datatype: nvarchar(50)
      destination: [WFIExposure.science_category, WFIMosaic.science_category, GuideWindow.science_category,
                    SourceCatalog.science_category, SegmentationMap.science_category]
  continuation_id:
    title: Continuation ID
    description: |
      The identifier that marks the program as a continuation of a previous
      program.
    type: integer
    sdf:
      special_processing: VALUE_REQUIRED
      source:
        origin: PSS:dms_program.continuation_id
    archive_catalog:
      datatype: int
      destination: [WFIExposure.continuation_id, WFIMosaic.continuation_id, GuideWindow.continuation_id,
                    SourceCatalog.continuation_id, SegmentationMap.continuation_id]
propertyOrder: [title, pi_name, category, subcategory, science_category, continuation_id]
flowStyle: block
required: [title, pi_name, category, subcategory, science_category, continuation_id]
...