{
  "@context": {
    "schema": "http://schema.org/",
    "ex": "https://example.org/",
    "xsd": "http://www.w3.org/2001/XMLSchema#",
    "dcterms": "http://purl.org/dc/terms/"
  },
  "@id": "ex:exampleAction_37467",
  "@type": [
    "schema:Action"
  ],
  "schema:name": "Download Data",
  "schema:target": {
    "@type": [
      "schema:EntryPoint"
    ],
    "schema:description": "endpoint URL to invoke the action; content type spcifies the supported content type(s) for an EntryPoint response",
    "schema:urlTemplate": "http://portal.chordsrt.com/api/v1/data.{encoding}?instruments={instruments}&start={start}&end={end}",
    "schema:httpMethod": [
      "GET"
    ],
    "schema:contentType": [
      "text/csv",
      "application/json"
    ]
  },
  "schema:result": {
    "@type": [
      "schema:DataDownload"
    ],
    "schema:encodingFormat": [
      "text/csv"
    ],
    "schema:description": "a description the file format(s) generated by api requests",
    "dcterms:conformsTo": [
      {
        "@id": "http://www.opengis.net/def/nil/OGC/0/missing"
      }
    ]
  },
  "schema:object": {
    "@type": [
      "schema:DataFeed"
    ],
    "schema:description": "description of the structure of the api result data",
    "schema:encodingFormat-input": [
      "application/json",
      "text/csv"
    ]
  },
  "schema:query-input": [
    {
      "@id": "ex:input_encoding",
      "@type": [
        "schema:PropertyValueSpecification"
      ],
      "schema:valueName": "encoding",
      "schema:description": "format of requested result",
      "schema:valueRequired": false,
      "schema:valuePattern": "^(csv|json)$"
    },
    {
      "@id": "ex:input_instruments",
      "@type": [
        "schema:PropertyValueSpecification"
      ],
      "schema:valueName": "instruments",
      "schema:description": "sensor for data requested",
      "schema:valueRequired": false,
      "schema:valuePattern": "^[A-Za-z0-9_, ]+$"
    },
    {
      "@id": "ex:input_start",
      "@type": [
        "schema:PropertyValueSpecification"
      ],
      "schema:valueName": "start",
      "schema:description": "beginning of time interval for requested data",
      "schema:valueRequired": false,
      "schema:valuePattern": "^\\d{4}-\\d{2}-\\d{2}(T\\d{2}:\\d{2}:\\d{2}Z)?$"
    },
    {
      "@id": "ex:input_end",
      "@type": [
        "schema:PropertyValueSpecification"
      ],
      "schema:valueName": "end",
      "schema:description": "end of time interval for requested data",
      "schema:valueRequired": true,
      "schema:valuePattern": "^\\d{4}-\\d{2}-\\d{2}(T\\d{2}:\\d{2}:\\d{2}Z)?$"
    }
  ]
}