schema/projection.json in adiwg-mdjson_schemas-2.5.0 vs schema/projection.json in adiwg-mdjson_schemas-2.5.1

- old
+ new

@@ -7,10 +7,11 @@ "example": "../examples/projection.json", "translation": { "ISO 19115-2": ["referenceSystemInfo > MD_CRS > projection"], "FGDC CSDGM": ["metadata > spref > horizsys > planar > mapproj"] }, + "required": ["projectionIdentifier"], "additionalProperties": true, "properties": { "projectionIdentifier": { "description": "The identifier for the projection.", "required": ["identifier"], @@ -49,11 +50,11 @@ "properties": { "namespace": { "enum": ["org.adiwg.code.mapProjection"] }, "identifier": { - "enum": ["alaska", "albers", "azimuthalEquidistant", "equidistantConic", "equirectangular", "generalVertical", "gnomonic", "lambertConic", "lambertEqualArea", "mercator", "miller", "obliqueMercator", "orthographic", "parameters", "polarStereo", "polyconic", "robinson", "sinusoidal", "spaceOblique", "stereographic", "transverseMercator", "grinten"] + "enum": ["alaska", "albers", "azimuthalEquidistant", "equidistantConic", "equirectangular", "generalVertical", "gnomonic", "lambertConic", "lambertEqualArea", "mercator", "miller", "obliqueMercator", "orthographic", "parameters", "polarStereo", "polyconic", "robinson", "sinusoidal", "spaceOblique", "stereographic", "transverseMercator", "grinten", "localPlanar", "localSystem"] } } }, { "not": { @@ -273,23 +274,15 @@ "type": "integer", "description": "The number of the orbit of the Landsat satellite.", "translation": { "FGDC CSDGM": ["spref > horizsys > planar > mapprojp > pathnum"] } - } - }, - "oneOf": [ - { - "title": "projectionIdentifier is required.", - "required": ["projectionIdentifier"] }, - { - "title": "gridIdentifier is required.", - "required": ["gridIdentifier"] + "local": { + "$ref": "#/definitions/local" } - ], - + }, "definitions": { "obliqueLinePoint": { "type": "array", "description": "The method used to describe the line along which an oblique Mercator map projection is centered using two points near the limits of the mapped region that define the center line.", "example": "../examples/obliqueLinePoint.json", @@ -324,9 +317,40 @@ "translation": { "ISO 19115-2": ["MD_ObliqueLinePoint > obliqueLineLongitude"], "FGDC CSDGM": ["spref > horizsys > planar > mapproj > obqmerc > obqlpt > obqllong"] } } + } + } + }, + "local": { + "type": "object", + "description": "A description of a local coordinate system.", + "example": "../examples/projection.json#/4", + "translation": { + "FGDC CSDGM": ["spref > horizsys > local", "spref > horizsys > planar > localp"] + }, + "required": ["description", "georeference"], + "additionalProperties": true, + "properties": { + "description": { + "type": "string", + "description": "A description of the local reference system.", + "translation": { + "FGDC CSDGM": ["spref > horizsys > local > localgeo", "spref > horizsys > planar > localp > localpd"] + } + }, + "georeference": { + "type": "string", + "description": "A description of the information provided to register the local system to the Earth (e.g. control points, satellite ephemeral data, inertial navigation data).", + "translation": { + "FGDC CSDGM": ["spref > horizsys > local > localdes", "spref > horizsys > planar > localp > localpgi"] + } + }, + "fixedToEarth": { + "type": "boolean", + "default": true, + "description": "True if the z-axis of the coordinate system coincides with a plumb line through the origin that locally is aligned with the surface of the Earth." } } } } }