Showing:

Annotations
Diagram
Properties
Constraints
Used By
Source
Schema
Properties
Definitions
Schema i_get-aim-data_gchart-sch.json
Document version Draft 7
Annotations
Title  Popis návratové hodnoty služby i_get-aim-data_gchart. 

Description  Primární data AIM stanic pro kraj a veličinu, posledních 48 hodin. Data jsou transformována do tvaru pro Google charts API.
Diagram
#/properties/Dataset #/properties/Version #/properties/cols #/properties/rows diagram
Type object
Properties
Name Occurrence
Dataset
Version
cols
rows
required
required
required
required
Additional Properties false
Source

{
  "type": "object",
  "additionalProperties": false,
  "title": "Popis návratové hodnoty služby i_get-aim-data_gchart. ",
  "description": "Primární data AIM stanic pro kraj a veličinu, posledních 48 hodin. Data jsou transformována do tvaru pro Google charts API.",
  "$schema": "http://json-schema.org/draft-07/schema",
  "$comment": "https://developers.google.com/chart/interactive/docs/gallery/linechart",
  "required": [
    "Dataset",
    "Version",
    "cols",
    "rows"
  ],
  "properties": {
    "Dataset": {
      "type": "string",
      "description": "Datová sada"
    },
    "Version": {
      "type": "integer",
      "description": "Verze datové sady"
    },
    "cols": {
      "type": "array",
      "$comment": "Sloupce",
      "items": {}
    },
    "rows": {
      "type": "array",
      "$comment": "Řádky",
      "items": {}
    }
  }
}


Property schema Dataset
Annotations
Description  Datová sada
Diagram
diagram
Type string
Used by
Schema
#/schema
Source

 "Dataset": {
  "type": "string",
  "description": "Datová sada"
}


Property schema Version
Annotations
Description  Verze datové sady
Diagram
diagram
Type number
Used by
Schema
#/schema
Source

 "Version": {
  "type": "integer",
  "description": "Verze datové sady"
}


Property schema cols
Diagram
#/properties/cols/items diagram
Type array
Constraints
Unique Items : false

Array Items
Used by
Schema
#/schema
Source

 "cols": {
  "type": "array",
  "$comment": "Sloupce",
  "items": {
    "type": "object",
    "additionalProperties": false,
    "required": [
      "id",
      "label",
      "pattern",
      "type"
    ],
    "properties": {
      "id": {"type": "string"},
      "label": {
        "type": "string",
        "title": "Expect label=\"Date\" for first column, \"Locality name\" for others"
      },
      "pattern": {
        "type": "string",
        "title": "Expect empty string",
        "$comment": "Pattern for clomumn"
      },
      "type": {
        "type": "string",
        "title": "Expect type=\"string\"",
        "$comment": "Typ hodnoty"
      }
    }
  }
}


Property schema cols/items
Diagram
#/properties/cols/items/properties/id #/properties/cols/items/properties/label #/properties/cols/items/properties/pattern #/properties/cols/items/properties/type diagram
Type object
Properties
Name Occurrence
id
label
pattern
type
required
required
required
required
Additional Properties false
Used by
Schema
cols
Source

 "items": {
  "type": "object",
  "additionalProperties": false,
  "required": [
    "id",
    "label",
    "pattern",
    "type"
  ],
  "properties": {
    "id": {"type": "string"},
    "label": {
      "type": "string",
      "title": "Expect label=\"Date\" for first column, \"Locality name\" for others"
    },
    "pattern": {
      "type": "string",
      "title": "Expect empty string",
      "$comment": "Pattern for clomumn"
    },
    "type": {
      "type": "string",
      "title": "Expect type=\"string\"",
      "$comment": "Typ hodnoty"
    }
  }
}


Property schema id
Diagram
diagram
Type string
Used by
Schema
cols/items
Source

 "id": {"type": "string"}


Property schema label
Annotations
Title  Expect label="Date" for first column, "Locality name" for others

Diagram
diagram
Type string
Used by
Schema
cols/items
Source

 "label": {
  "type": "string",
  "title": "Expect label=\"Date\" for first column, \"Locality name\" for others"
}


Property schema pattern
Annotations
Title  Expect empty string

Diagram
diagram
Type string
Used by
Schema
cols/items
Source

 "pattern": {
  "type": "string",
  "title": "Expect empty string",
  "$comment": "Pattern for clomumn"
}


Property schema type
Annotations
Title  Expect type="string"

Diagram
diagram
Type string
Used by
Schema
cols/items
Source

 "type": {
  "type": "string",
  "title": "Expect type=\"string\"",
  "$comment": "Typ hodnoty"
}


Property schema rows
Diagram
#/properties/rows/items diagram
Type array
Constraints
Unique Items : false

Array Items
Used by
Schema
#/schema
Source

 "rows": {
  "type": "array",
  "$comment": "Řádky",
  "items": {
    "type": "object",
    "additionalProperties": false,
    "required": ["c"],
    "properties": {
      "c": {
        "type": "array",
        "items": {
          "type": "object",
          "required": ["v"],
          "properties": {
            "v": {
              "type": "number",
              "title": "Expect formatted date for\nfirst row, value for others",
              "$comment": "Value - hodnota"
            }
          }
        }
      }
    }
  }
}


Property schema rows/items
Diagram
#/properties/rows/items/properties/c diagram
Type object
Properties
Name Occurrence
c
required
Additional Properties false
Used by
Schema
rows
Source

 "items": {
  "type": "object",
  "additionalProperties": false,
  "required": ["c"],
  "properties": {
    "c": {
      "type": "array",
      "items": {}
    }
  }
}


Property schema c
Diagram
#/properties/rows/items/properties/c/items diagram
Type array
Constraints
Unique Items : false

Array Items
Used by
Schema
rows/items
Source

 "c": {
  "type": "array",
  "items": {
    "type": "object",
    "required": ["v"],
    "properties": {
      "v": {
        "type": "number",
        "title": "Expect formatted date for\nfirst row, value for others",
        "$comment": "Value - hodnota"
      }
    }
  }
}


Property schema c/items
Diagram
#/properties/rows/items/properties/c/items/properties/v diagram
Type object
Properties
Name Occurrence
v
required
Used by
Source

 "items": {
  "type": "object",
  "required": ["v"],
  "properties": {
    "v": {
      "type": "number",
      "title": "Expect formatted date for\nfirst row, value for others",
      "$comment": "Value - hodnota"
    }
  }
}


Property schema v
Annotations
Title  Expect formatted date for
first row, value for others

Diagram
diagram
Type number
Used by
Source

 "v": {
  "type": "number",
  "title": "Expect formatted date for\nfirst row, value for others",
  "$comment": "Value - hodnota"
}