{
 "$schema": "https://json-schema.org/draft/2020-12/schema",
 "title": "Metadata schema (metadata_schema-2021.06.07.xlsx, loose)",
 "type": "object",
 "properties": {
  "data_info": {
   "type": "object",
   "properties": {
    "identifier": {
     "type": "object",
     "properties": {
      "pid": {
       "title": "PID番号",
       "description": "Persistent ID\n@data_info@identifier@pid (automatic · keyword)\nMisc: データ登録毎にユニークな値が設定されます",
       "type": [
        "string",
        "number",
        "null"
       ]
      },
      "previous": {
       "title": "直前のデータのIDリスト",
       "description": "ID list of previous data\n@data_info@identifier@previous (optional · array)\nMisc: 配列; 前処理で用いたデータのIDリストを記述",
       "type": "array",
       "items": {
        "type": "object",
        "properties": {
         "pid": {
          "title": "直前のデータのPID",
          "description": "pid in previous data\n@data_info@identifier@previous.pid (optional · keyword)\nMisc: 配列の要素",
          "type": [
           "string",
           "number",
           "null"
          ]
         }
        }
       }
      },
      "related": {
       "title": "関連するデータのIDリスト",
       "description": "@data_info@identifier@related (optional · array)\nMisc: 配列",
       "type": "array",
       "items": {
        "type": "object",
        "properties": {
         "pid": {
          "title": "関連するデータのPID",
          "description": "@data_info@identifier@related.pid (optional · keyword)\nMisc: 配列の要素",
          "type": [
           "string",
           "number",
           "null"
          ]
         }
        }
       }
      },
      "proposal_number": {
       "title": "課題番号",
       "description": "proposal number\n@data_info@identifier@proposal_number (required · keyword)",
       "examples": [
        "2013A1180"
       ],
       "type": [
        "string",
        "number",
        "null"
       ]
      },
      "register_name": {
       "title": "登録名(ファイルパス)",
       "description": "register name\n@data_info@identifier@register_name (automatic · keyword)\nMisc: 登録毎に異なる値を設定します",
       "examples": [
        "/SPring-8/BL14B2/data1/test"
       ],
       "type": [
        "string",
        "number",
        "null"
       ]
      },
      "others": {
       "title": "プロジェクトIDのリスト",
       "description": "project ID list\n@data_info@identifier@others (optional · array)\nMisc: 配列; 外部資金番号など",
       "type": "array",
       "items": {
        "type": "object",
        "properties": {
         "project_id": {
          "title": "プロジェクトID",
          "description": "project ID\n@data_info@identifier@others.project_id (optional · keyword)\nMisc: 配列の要素",
          "type": [
           "string",
           "number",
           "null"
          ]
         }
        }
       }
      },
      "doi": {
       "title": "DOI",
       "description": "DOI\n@data_info@identifier@doi (optional · keyword)",
       "type": [
        "string",
        "number",
        "null"
       ]
      }
     },
     "required": [
      "proposal_number"
     ]
    },
    "date": {
     "type": "object",
     "properties": {
      "create_time": {
       "title": "生成時間",
       "description": "create time\n@data_info@date@create_time (automatic · date)",
       "anyOf": [
        {
         "type": "string",
         "pattern": "^\\d{4}-(0[1-9]|1[0-2])-(0[1-9]|[12]\\d|3[01])([ T]([01]\\d|2[0-3]):[0-5]\\d(:[0-5]\\d(\\.\\d+)?)?(Z|[+-]([01]\\d|2[0-3]):?[0-5]\\d)?)?$"
        },
        {
         "type": "string"
        },
        {
         "type": "null"
        }
       ]
      },
      "update_time": {
       "title": "更新時間",
       "description": "update time\n@data_info@date@update_time (automatic · date)",
       "anyOf": [
        {
         "type": "string",
         "pattern": "^\\d{4}-(0[1-9]|1[0-2])-(0[1-9]|[12]\\d|3[01])([ T]([01]\\d|2[0-3]):[0-5]\\d(:[0-5]\\d(\\.\\d+)?)?(Z|[+-]([01]\\d|2[0-3]):?[0-5]\\d)?)?$"
        },
        {
         "type": "string"
        },
        {
         "type": "null"
        }
       ]
      }
     }
    },
    "license": {
     "type": "object",
     "properties": {
      "name": {
       "title": "ライセンス",
       "description": "license\n@data_info@license@name (optional · keyword)\nEnum: CC BY 4.0, CC BY-SA 4.0, CC BY-ND 4.0, CC BY-NC 4.0, CC BY-NC-ND 4.0, CC BY-NC-SA 4.0, CC0 1.0",
       "examples": [
        "CC BY-NC-SA 4.0"
       ],
       "type": [
        "string",
        "number",
        "null"
       ],
       "enum": [
        "CC BY 4.0",
        "CC BY-SA 4.0",
        "CC BY-ND 4.0",
        "CC BY-NC 4.0",
        "CC BY-NC-ND 4.0",
        "CC BY-NC-SA 4.0",
        "CC0 1.0",
        null
       ]
      }
     }
    },
    "version": {
     "type": "object",
     "properties": {
      "data_format": {
       "title": "データフォーマットバージョン",
       "description": "version of data format\n@data_info@version@data_format (optional · keyword)",
       "type": [
        "string",
        "number",
        "null"
       ]
      }
     }
    },
    "data_origin": {
     "title": "データの起源",
     "description": "data origin\n@data_info@data_origin (required · keyword)\nMisc: 未記入の場合は experiment",
     "examples": [
      "experiment"
     ],
     "type": [
      "string",
      "number",
      "null"
     ]
    },
    "access_rights": {
     "title": "アクセス権限",
     "description": "access rights\n@data_info@access_rights (required · keyword)\nMisc: open または close; 未入力の際はclose\nEnum: open, close",
     "examples": [
      "open"
     ],
     "type": [
      "string",
      "number",
      "null"
     ],
     "enum": [
      "open",
      "close",
      null
     ]
    },
    "facility": {
     "title": "施設名",
     "description": "facility\n@data_info@facility (automatic · keyword)",
     "examples": [
      "SPring-8"
     ],
     "type": [
      "string",
      "number",
      "null"
     ]
    },
    "class_name": {
     "title": "分類名",
     "description": "class name\n@data_info@class_name (automatic · keyword)\nMisc: ビームラインなど",
     "examples": [
      "BL14B2"
     ],
     "type": [
      "string",
      "number",
      "null"
     ]
    },
    "disk_name": {
     "title": "ディスク名",
     "description": "disk name\n@data_info@disk_name (automatic · keyword)",
     "examples": [
      "data1"
     ],
     "type": [
      "string",
      "number",
      "null"
     ]
    },
    "title": {
     "title": "実験課題名(英語)",
     "description": "proposal title (english)\n@data_info@title (automatic · text)",
     "examples": [
      "Development of remote-XAFS system at BL14B2"
     ],
     "type": [
      "string",
      "number",
      "null"
     ]
    },
    "title_ja": {
     "title": "実験課題名(日本語)",
     "description": "proposal title (japanese)\n@data_info@title_ja (automatic · text)",
     "examples": [
      "BL14B2における遠隔XAFSシステムの構築"
     ],
     "type": [
      "string",
      "number",
      "null"
     ]
    },
    "data_depositor": {
     "type": "object",
     "properties": {
      "name": {
       "title": "データ登録者の名前",
       "description": "name of data depositor\n@data_info@data_depositor@name (required · text)",
       "type": [
        "string",
        "number",
        "null"
       ]
      },
      "affiliation": {
       "type": "object",
       "properties": {
        "organization": {
         "title": "データ登録者の組織",
         "description": "organization of data depositor\n@data_info@data_depositor@affiliation@organization (required · keyword)",
         "type": [
          "string",
          "number",
          "null"
         ]
        },
        "sub_organization": {
         "title": "データ登録者の部署",
         "description": "department of data depositor\n@data_info@data_depositor@affiliation@sub_organization (optional · keyword)",
         "type": [
          "string",
          "number",
          "null"
         ]
        }
       },
       "required": [
        "organization"
       ]
      },
      "identifier": {
       "type": "object",
       "properties": {
        "name": {
         "title": "データ登録者の施設ユーザー番号",
         "description": "facility user number of data depositor\n@data_info@data_depositor@identifier@name (optional · keyword)",
         "type": [
          "string",
          "number",
          "null"
         ]
        },
        "ORCID": {
         "title": "データ登録者のORCID番号",
         "description": "ORCID number of data depositor\n@data_info@data_depositor@identifier@ORCID (optional · keyword)",
         "type": [
          "string",
          "number",
          "null"
         ]
        }
       }
      }
     },
     "required": [
      "name",
      "affiliation"
     ]
    },
    "contact_name": {
     "type": "object",
     "properties": {
      "name": {
       "title": "データ責任者(組織名でもよい)",
       "description": "contact name (person or organization)\n@data_info@contact_name@name (required · keyword)\nMisc: 未入力の際は課題DBから自動生成 (組織名を設定する際は@data_info@contact_name@roleの値をorganizationに設定",
       "type": [
        "string",
        "number",
        "null"
       ]
      },
      "affiliation": {
       "type": "object",
       "properties": {
        "organization": {
         "title": "データ責任者の所属",
         "description": "organization of data depositor\n@data_info@contact_name@affiliation@organization (required · keyword)\nMisc: 未入力の際は課題DBから自動生成",
         "type": [
          "string",
          "number",
          "null"
         ]
        },
        "sub_organization": {
         "title": "データ責任者の部署",
         "description": "department of data depositor\n@data_info@contact_name@affiliation@sub_organization (optional · keyword)",
         "type": [
          "string",
          "number",
          "null"
         ]
        }
       },
       "required": [
        "organization"
       ]
      },
      "role": {
       "title": "データ責任者の役割",
       "description": "role of contact name\n@data_info@contact_name@role (optional · keyword)\nMisc: personまたはorganizationを設定(未入力の場合にはpersonに設定)\nEnum: person, organization",
       "type": [
        "string",
        "number",
        "null"
       ],
       "enum": [
        "person",
        "organization",
        null
       ]
      },
      "identifier": {
       "type": "object",
       "properties": {
        "name": {
         "title": "データ責任者の施設ユーザー番号",
         "description": "facility user number of contact name\n@data_info@contact_name@identifier@name (optional · keyword)",
         "type": [
          "string",
          "number",
          "null"
         ]
        },
        "ORCID": {
         "title": "データ責任者のORCID番号",
         "description": "ORCID number of contact name\n@data_info@contact_name@identifier@ORCID (optional · keyword)",
         "type": [
          "string",
          "number",
          "null"
         ]
        }
       }
      }
     },
     "required": [
      "name",
      "affiliation"
     ]
    },
    "additional_metadata": {
     "title": "備考",
     "description": "additional metadata\n@data_info@additional_metadata (optional · text)",
     "type": [
      "string",
      "number",
      "null"
     ]
    }
   },
   "required": [
    "identifier",
    "access_rights",
    "data_depositor",
    "contact_name"
   ]
  },
  "facility": {
   "type": "object",
   "properties": {
    "ring": {
     "type": "object",
     "properties": {
      "energy": {
       "title": "ビームエネルギー",
       "description": "beam energy\n@facility@ring@energy (optional · double)",
       "examples": [
        "8"
       ],
       "type": [
        "number",
        "string",
        "null"
       ]
      },
      "energy_unit": {
       "title": "ビームエネルギー単位",
       "description": "beam energy unit\n@facility@ring@energy_unit (optional · keyword)",
       "examples": [
        "GeV"
       ],
       "type": [
        "string",
        "number",
        "null"
       ]
      },
      "filling_pattern_mode": {
       "title": "フィリングパターンモード",
       "description": "filling pattern mode\n@facility@ring@filling_pattern_mode (optional · keyword)",
       "examples": [
        "A"
       ],
       "type": [
        "string",
        "number",
        "null"
       ]
      },
      "start_current": {
       "title": "蓄積電流(開始時)",
       "description": "beam current (start)\n@facility@ring@start_current (optional · double)",
       "type": [
        "number",
        "string",
        "null"
       ]
      },
      "start_current_unit": {
       "title": "蓄積電流単位(開始時)",
       "description": "beam current unit (start)\n@facility@ring@start_current_unit (optional · keyword)",
       "examples": [
        "mA"
       ],
       "type": [
        "string",
        "number",
        "null"
       ]
      },
      "end_current": {
       "title": "蓄積電流(終了時)",
       "description": "beam current (end)\n@facility@ring@end_current (optional · double)",
       "type": [
        "number",
        "string",
        "null"
       ]
      },
      "end_current_unit": {
       "title": "蓄積電流単位(終了時)",
       "description": "beam current unit (end)\n@facility@ring@end_current_unit (optional · keyword)",
       "examples": [
        "mA"
       ],
       "type": [
        "string",
        "number",
        "null"
       ]
      },
      "filling_pattern": {
       "title": "フィリングパターン",
       "description": "filling pattern\n@facility@ring@filling_pattern (optional · keyword)",
       "examples": [
        "4 banch train X 84"
       ],
       "type": [
        "string",
        "number",
        "null"
       ]
      }
     }
    }
   }
  },
  "sample": {
   "title": "サンプル配列",
   "description": "sample array\n@sample (optional · array)\nMisc: 配列 (複数試料記述用途)",
   "type": "array",
   "items": {
    "type": "object",
    "properties": {
     "name": {
      "title": "サンプル名",
      "description": "sample name\n@sample.name (optional · text)",
      "type": [
       "string",
       "number",
       "null"
      ]
     },
     "chemical_formula": {
      "title": "試料化学式",
      "description": "chemical formula\n@sample.chemical_formula (optional · text)",
      "examples": [
       "approx. V2S3"
      ],
      "type": [
       "string",
       "number",
       "null"
      ]
     },
     "element": {
      "title": "試料の化学式リスト",
      "description": "list for chemical formula\n@sample.element (optional · array)\nMisc: 配列",
      "type": "array",
      "items": {
       "type": "object",
       "properties": {
        "name": {
         "title": "元素名",
         "description": "element name\n@sample.element.name (optional · keyword)\nMisc: 配列の要素",
         "examples": [
          "V"
         ],
         "type": [
          "string",
          "number",
          "null"
         ]
        },
        "suffix": {
         "title": "元素名添え字",
         "description": "element suffix\n@sample.element.suffix (optional · keyword)\nMisc: 配列の要素",
         "examples": [
          "2"
         ],
         "type": [
          "string",
          "number",
          "null"
         ]
        }
       }
      }
     },
     "supplier": {
      "title": "サンプル業者",
      "description": "sample supplier\n@sample.supplier (optional · keyword)",
      "type": [
       "string",
       "number",
       "null"
      ]
     },
     "model_number": {
      "title": "サンプルモデル番号",
      "description": "sample model number\n@sample.model_number (optional · keyword)",
      "type": [
       "string",
       "number",
       "null"
      ]
     },
     "lot_number": {
      "title": "サンプルロット番号",
      "description": "sample lot number\n@sample.lot_number (optional · keyword)",
      "type": [
       "string",
       "number",
       "null"
      ]
     },
     "additional_metadata": {
      "title": "サンプル付加情報",
      "description": "additional metadata on sample\n@sample.additional_metadata (optional · text)",
      "type": [
       "string",
       "number",
       "null"
      ]
     },
     "tag": {
      "title": "タグ情報",
      "description": "tag information\n@sample.tag (optional · keyword)\nMisc: 校正試料用となどタグ付けで利用",
      "examples": [
       "reference"
      ],
      "type": [
       "string",
       "number",
       "null"
      ]
     }
    }
   }
  },
  "measurement": {
   "type": "object",
   "properties": {
    "method": {
     "type": "object",
     "properties": {
      "category": {
       "title": "計測法カテゴリ",
       "description": "method category\n@measurement@method@category (optional · text)",
       "examples": [
        "spectroscopy"
       ],
       "type": [
        "string",
        "number",
        "null"
       ]
      },
      "sub_category": {
       "title": "計測法サブカテゴリ",
       "description": "method sub category\n@measurement@method@sub_category (optional · text)",
       "examples": [
        "XAFS"
       ],
       "type": [
        "string",
        "number",
        "null"
       ]
      },
      "detection": {
       "title": "検出方法",
       "description": "detection method\n@measurement@method@detection (optional · text)",
       "examples": [
        "Transmission"
       ],
       "type": [
        "string",
        "number",
        "null"
       ]
      },
      "absorption_edge": {
       "title": "吸収端",
       "description": "absorption edge\n@measurement@method@absorption_edge (optional · text)",
       "examples": [
        "V K-edge"
       ],
       "type": [
        "string",
        "number",
        "null"
       ]
      }
     }
    },
    "date": {
     "type": "object",
     "properties": {
      "start_time": {
       "title": "計測開始時刻",
       "description": "start datetime of measurement\n@measurement@date@start_time (optional · date)",
       "anyOf": [
        {
         "type": "string",
         "pattern": "^\\d{4}-(0[1-9]|1[0-2])-(0[1-9]|[12]\\d|3[01])([ T]([01]\\d|2[0-3]):[0-5]\\d(:[0-5]\\d(\\.\\d+)?)?(Z|[+-]([01]\\d|2[0-3]):?[0-5]\\d)?)?$"
        },
        {
         "type": "string"
        },
        {
         "type": "null"
        }
       ]
      },
      "end_time": {
       "title": "計測終了時刻",
       "description": "end datetime of masurement\n@measurement@date@end_time (optional · date)",
       "anyOf": [
        {
         "type": "string",
         "pattern": "^\\d{4}-(0[1-9]|1[0-2])-(0[1-9]|[12]\\d|3[01])([ T]([01]\\d|2[0-3]):[0-5]\\d(:[0-5]\\d(\\.\\d+)?)?(Z|[+-]([01]\\d|2[0-3]):?[0-5]\\d)?)?$"
        },
        {
         "type": "string"
        },
        {
         "type": "null"
        }
       ]
      }
     }
    },
    "run_number": {
     "title": "RUN番号",
     "description": "run number\n@measurement@run_number (optional · integer)",
     "type": [
      "integer",
      "string",
      "null"
     ]
    },
    "number": {
     "title": "測定番号",
     "description": "measurement number\n@measurement@number (optional · integer)",
     "type": [
      "integer",
      "string",
      "null"
     ]
    },
    "holder_number": {
     "title": "ホルダー番号",
     "description": "holder number\n@measurement@holder_number (optional · integer)",
     "type": [
      "integer",
      "string",
      "null"
     ]
    },
    "scan_mode": {
     "title": "スキャンモード",
     "description": "scan mode\n@measurement@scan_mode (optional · text)",
     "examples": [
      "Quick scan"
     ],
     "type": [
      "string",
      "number",
      "null"
     ]
    },
    "atmosphere": {
     "type": "object",
     "properties": {
      "sample": {
       "type": "object",
       "properties": {
        "gas": {
         "title": "ガス雰囲気",
         "description": "atomospheric gas\n@measurement@atmosphere@sample@gas (optional · text)",
         "type": [
          "string",
          "number",
          "null"
         ]
        },
        "start_temperature": {
         "title": "試料温度(開始時)",
         "description": "sample temperature (start)\n@measurement@atmosphere@sample@start_temperature (optional · double)",
         "type": [
          "number",
          "string",
          "null"
         ]
        },
        "start_temperature_unit": {
         "title": "試料温度単位(開始時)",
         "description": "sample temperature unit (start)\n@measurement@atmosphere@sample@start_temperature_unit (optional · keyword)",
         "examples": [
          "deg C"
         ],
         "type": [
          "string",
          "number",
          "null"
         ]
        },
        "end_temperature": {
         "title": "試料温度(終了時)",
         "description": "sample temperature (end)\n@measurement@atmosphere@sample@end_temperature (optional · double)",
         "type": [
          "number",
          "string",
          "null"
         ]
        },
        "end_temperature_unit": {
         "title": "試料温度単位(終了時)",
         "description": "sample temperature unit (end)\n@measurement@atmosphere@sample@end_temperature_unit (optional · keyword)",
         "examples": [
          "deg C"
         ],
         "type": [
          "string",
          "number",
          "null"
         ]
        }
       }
      }
     }
    },
    "incident_photon": {
     "type": "object",
     "properties": {
      "energy": {
       "title": "入射光エネルギー",
       "description": "incident photon energy\n@measurement@incident_photon@energy (optional · double)",
       "type": [
        "number",
        "string",
        "null"
       ]
      },
      "energy_unit": {
       "title": "入射光エネルギー単位",
       "description": "incident photon energy unit\n@measurement@incident_photon@energy_unit (optional · keyword)",
       "examples": [
        "eV"
       ],
       "type": [
        "string",
        "number",
        "null"
       ]
      },
      "angle": {
       "title": "入射光角度",
       "description": "incident photon angle\n@measurement@incident_photon@angle (optional · double)",
       "type": [
        "number",
        "string",
        "null"
       ]
      },
      "angle_unit": {
       "title": "入射光角度単位",
       "description": "incident photon angle unit\n@measurement@incident_photon@angle_unit (optional · keyword)",
       "examples": [
        "deg"
       ],
       "type": [
        "string",
        "number",
        "null"
       ]
      }
     }
    },
    "photoelectron": {
     "type": "object",
     "properties": {
      "energy_scale": {
       "title": "光電子エネルギースケール",
       "description": "energy scale of photo electron\n@measurement@photoelectron@energy_scale (optional · text)",
       "examples": [
        "Kinetic"
       ],
       "type": [
        "string",
        "number",
        "null"
       ]
      },
      "take_off_angle": {
       "title": "光電子放出角度",
       "description": "take off angle of photo electron\n@measurement@photoelectron@take_off_angle (optional · double)",
       "type": [
        "number",
        "string",
        "null"
       ]
      },
      "take_off_angle_unit": {
       "title": "光電子放出角度単位",
       "description": "take off angle unit of photo electron\n@measurement@photoelectron@take_off_angle_unit (optional · keyword)",
       "examples": [
        "deg"
       ],
       "type": [
        "string",
        "number",
        "null"
       ]
      },
      "spectral_line": {
       "title": "光電子スペクトル線のリスト",
       "description": "list for photoelectron spectral line\n@measurement@photoelectron@spectral_line (optional · array)\nMisc: 配列",
       "type": "array",
       "items": {
        "type": "object",
        "properties": {
         "name": {
          "title": "光電子スペクトル線の名前",
          "description": "name of photoelectron spectral line\n@measurement@photoelectron@spectral_line.name (optional · keyword)\nMisc: 配列の要素",
          "examples": [
           "Mg 1s"
          ],
          "type": [
           "string",
           "number",
           "null"
          ]
         }
        }
       }
      }
     }
    }
   }
  },
  "instrument": {
   "type": "object",
   "properties": {
    "monochrometer": {
     "type": "object",
     "properties": {
      "net_plane": {
       "title": "分光器結晶面",
       "description": "monochrometer net plane\n@instrument@monochrometer@net_plane (optional · text)",
       "examples": [
        "Si(111)"
       ],
       "type": [
        "string",
        "number",
        "null"
       ]
      },
      "distance": {
       "title": "分光結晶面間隔",
       "description": "monochrometer distance\n@instrument@monochrometer@distance (optional · double)",
       "examples": [
        "1.63747"
       ],
       "type": [
        "number",
        "string",
        "null"
       ]
      },
      "distance_unit": {
       "title": "分光結晶面間隔単位",
       "description": "monochrometer distance unit\n@instrument@monochrometer@distance_unit (optional · keyword)",
       "examples": [
        "angstrom"
       ],
       "type": [
        "string",
        "number",
        "null"
       ]
      },
      "section": {
       "title": "測定セクションのリスト",
       "description": "measurement section list\n@instrument@monochrometer@section (optional · array)\nMisc: 配列",
       "type": "array",
       "items": {
        "type": "object",
        "properties": {
         "start_energy": {
          "title": "測定開始エネルギー(角)",
          "description": "measurement start energy(angle)\n@instrument@monochrometer@section.start_energy (optional · double)\nMisc: 配列の要素",
          "examples": [
           "22.65"
          ],
          "type": [
           "number",
           "string",
           "null"
          ]
         },
         "start_energy_unit": {
          "title": "測定開始エネルギー(角)単位",
          "description": "measurement start energy(angle) unit\n@instrument@monochrometer@section.start_energy_unit (optional · keyword)\nMisc: 配列の要素",
          "examples": [
           "deg"
          ],
          "type": [
           "string",
           "number",
           "null"
          ]
         },
         "step_energy": {
          "title": "測定ステップエネルギー(角)",
          "description": "measurement step energy(angle)\n@instrument@monochrometer@section.step_energy (optional · double)\nMisc: 配列の要素",
          "type": [
           "number",
           "string",
           "null"
          ]
         },
         "step_energy_unit": {
          "title": "測定ステップエネルギー(角)単位",
          "description": "measurement step energy(angle)  unit\n@instrument@monochrometer@section.step_energy_unit (optional · keyword)\nMisc: 配列の要素",
          "examples": [
           "deg"
          ],
          "type": [
           "string",
           "number",
           "null"
          ]
         },
         "end_energy": {
          "title": "測定終了エネルギー(角)",
          "description": "measurement end energy(angle)\n@instrument@monochrometer@section.end_energy (optional · double)\nMisc: 配列の要素",
          "examples": [
           "16.43"
          ],
          "type": [
           "number",
           "string",
           "null"
          ]
         },
         "end_energy_unit": {
          "title": "測定終了エネルギー(角)単位",
          "description": "measurement end energy(angle) unit\n@instrument@monochrometer@section.end_energy_unit (optional · keyword)\nMisc: 配列の要素",
          "examples": [
           "deg"
          ],
          "type": [
           "string",
           "number",
           "null"
          ]
         },
         "dwell_time": {
          "title": "測定滞留時間",
          "description": "measurement dwell time\n@instrument@monochrometer@section.dwell_time (optional · double)\nMisc: 配列の要素",
          "examples": [
           "value"
          ],
          "type": [
           "number",
           "string",
           "null"
          ]
         },
         "dwell_time_unit": {
          "title": "測定滞留時間単位",
          "description": "measurement dwell time unit\n@instrument@monochrometer@section.dwell_time_unit (optional · keyword)\nMisc: 配列の要素",
          "examples": [
           "ms"
          ],
          "type": [
           "string",
           "number",
           "null"
          ]
         }
        }
       }
      }
     }
    },
    "slit": {
     "title": "ミラーのリスト",
     "description": "list for mirror\n@instrument@slit (optional · array)\nMisc: 配列",
     "type": "array",
     "items": {
      "type": "object",
      "properties": {
       "name": {
        "title": "スリット名",
        "description": "slit name\n@instrument@slit.name (optional · text)\nMisc: 配列の要素",
        "examples": [
         "4Dslit"
        ],
        "type": [
         "string",
         "number",
         "null"
        ]
       },
       "vertical_size": {
        "title": "スリット垂直方向サイズ",
        "description": "slit vertical size\n@instrument@slit.vertical_size (optional · double)\nMisc: 配列の要素",
        "examples": [
         "1"
        ],
        "type": [
         "number",
         "string",
         "null"
        ]
       },
       "vertical_size_unit": {
        "title": "スリット垂直方向サイズの単位",
        "description": "slit vertical size unit\n@instrument@slit.vertical_size_unit (optional · keyword)\nMisc: 配列の要素",
        "examples": [
         "mm"
        ],
        "type": [
         "string",
         "number",
         "null"
        ]
       },
       "horizontal_size": {
        "title": "スリット平行方向サイズ",
        "description": "slit horizontal size\n@instrument@slit.horizontal_size (optional · double)\nMisc: 配列の要素",
        "examples": [
         "5"
        ],
        "type": [
         "number",
         "string",
         "null"
        ]
       },
       "horizontal_size_unit": {
        "title": "スリット平行方向サイズの単位",
        "description": "slit horizontal size unit\n@instrument@slit.horizontal_size_unit (optional · keyword)\nMisc: 配列の要素",
        "examples": [
         "mm"
        ],
        "type": [
         "string",
         "number",
         "null"
        ]
       }
      }
     }
    },
    "counter": {
     "title": "カウンターのリスト",
     "description": "list for counter\n@instrument@counter (optional · array)\nMisc: 配列",
     "type": "array",
     "items": {
      "type": "object",
      "properties": {
       "name": {
        "title": "カウンター名",
        "description": "counter name\n@instrument@counter.name (optional · text)\nMisc: 配列の要素",
        "type": [
         "string",
         "number",
         "null"
        ]
       },
       "model": {
        "title": "カウンター形式",
        "description": "counter model\n@instrument@counter.model (optional · keyword)\nMisc: 配列の要素",
        "type": [
         "string",
         "number",
         "null"
        ]
       },
       "integral_time": {
        "title": "積算時間",
        "description": "integral time\n@instrument@counter.integral_time (optional · double)\nMisc: 配列の要素",
        "type": [
         "number",
         "string",
         "null"
        ]
       },
       "integral_time_unit": {
        "title": "積算時間単位",
        "description": "integral time unit\n@instrument@counter.integral_time_unit (optional · keyword)\nMisc: 配列の要素",
        "examples": [
         "s"
        ],
        "type": [
         "string",
         "number",
         "null"
        ]
       }
      }
     }
    },
    "xafs": {
     "type": "object",
     "properties": {
      "I0": {
       "type": "object",
       "properties": {
        "element_number": {
         "title": "[通常XAFS] I0検出器素子数",
         "description": "[normal XAFS] element number for I0\n@instrument@xafs@I0@element_number (optional · integer)",
         "examples": [
          "1"
         ],
         "type": [
          "integer",
          "string",
          "null"
         ]
        },
        "element": {
         "title": "[通常XAFS] I0検出器素子配列",
         "description": "[normal XAFS] element array for I0\n@instrument@xafs@I0@element (optional · array)\nMisc: 配列",
         "type": "array",
         "items": {
          "type": "object",
          "properties": {
           "type": {
            "title": "[通常XAFS] I0検出器素子: 種類",
            "description": "[normal XAFS] detector type for I0 element\n@instrument@xafs@I0@element.type (optional · text)\nMisc: 配列の要素",
            "examples": [
             "IonChamber (30cm)"
            ],
            "type": [
             "string",
             "number",
             "null"
            ]
           },
           "gas": {
            "title": "[通常XAFS] I0検出器素子: ガス",
            "description": "[normal XAFS] gas for I0 element\n@instrument@xafs@I0@element.gas (optional · text)\nMisc: 配列の要素",
            "examples": [
             "He 70% +N2 30%"
            ],
            "type": [
             "string",
             "number",
             "null"
            ]
           },
           "HV": {
            "title": "[通常XAFS] I0検出器素子：高電圧",
            "description": "[normal XAFS] HV for I0 element\n@instrument@xafs@I0@element.HV (optional · double)\nMisc: 配列の要素",
            "examples": [
             "1000"
            ],
            "type": [
             "number",
             "string",
             "null"
            ]
           },
           "HV_unit": {
            "title": "[通常XAFS] I0検出器素子：高電圧単位",
            "description": "[normal XAFS] HV unit for I0 element\n@instrument@xafs@I0@element.HV_unit (optional · keyword)\nMisc: 配列の要素",
            "examples": [
             "V"
            ],
            "type": [
             "string",
             "number",
             "null"
            ]
           },
           "amp_gain": {
            "title": "[通常XAFS] I0検出器素子：ゲイン",
            "description": "[normal XAFS] gain for I0 element\n@instrument@xafs@I0@element.amp_gain (optional · double)\nMisc: 配列の要素",
            "examples": [
             "1000000000"
            ],
            "type": [
             "number",
             "string",
             "null"
            ]
           },
           "amp_gain_unit": {
            "title": "[通常XAFS] I0検出器素子：ゲイン単位",
            "description": "[normal XAFS] gain unit for I0 element\n@instrument@xafs@I0@element.amp_gain_unit (optional · keyword)\nMisc: 配列の要素",
            "examples": [
             "V/A"
            ],
            "type": [
             "string",
             "number",
             "null"
            ]
           },
           "additional_metadata": {
            "title": "[通常XAFS] I0検出器素子：附加情報",
            "description": "[normal XAFS] additional_metadata for I0 element\n@instrument@xafs@I0@element.additional_metadata (optional · text)\nMisc: 配列の要素",
            "type": [
             "string",
             "number",
             "null"
            ]
           }
          }
         }
        }
       }
      },
      "I1": {
       "type": "object",
       "properties": {
        "element_number": {
         "title": "[通常XAFS] I1検出器素子数",
         "description": "[normal XAFS] element number for I1\n@instrument@xafs@I1@element_number (optional · integer)",
         "examples": [
          "1"
         ],
         "type": [
          "integer",
          "string",
          "null"
         ]
        },
        "element": {
         "title": "[通常XAFS] I1検出器素子配列",
         "description": "[normal XAFS] element array for I1\n@instrument@xafs@I1@element (optional · array)\nMisc: 配列",
         "type": "array",
         "items": {
          "type": "object",
          "properties": {
           "type": {
            "title": "[通常XAFS] I1検出器素子: 種類",
            "description": "[normal XAFS] detector type for I1 element\n@instrument@xafs@I1@element.type (optional · text)\nMisc: 配列の要素",
            "examples": [
             "IonChamber (30cm)"
            ],
            "type": [
             "string",
             "number",
             "null"
            ]
           },
           "gas": {
            "title": "[通常XAFS] I1検出器素子: ガス",
            "description": "[normal XAFS] gas for I1 element\n@instrument@xafs@I1@element.gas (optional · text)\nMisc: 配列の要素",
            "examples": [
             "N2 100%"
            ],
            "type": [
             "string",
             "number",
             "null"
            ]
           },
           "HV": {
            "title": "[通常XAFS] I1検出器素子：高電圧",
            "description": "[normal XAFS] HV for I1 element\n@instrument@xafs@I1@element.HV (optional · double)\nMisc: 配列の要素",
            "examples": [
             "1000"
            ],
            "type": [
             "number",
             "string",
             "null"
            ]
           },
           "HV_unit": {
            "title": "[通常XAFS] I1検出器素子：高電圧単位",
            "description": "[normal XAFS] HV unit for I1 element\n@instrument@xafs@I1@element.HV_unit (optional · keyword)\nMisc: 配列の要素",
            "examples": [
             "V"
            ],
            "type": [
             "string",
             "number",
             "null"
            ]
           },
           "amp_gain": {
            "title": "[通常XAFS] I1検出器素子：ゲイン",
            "description": "[normal XAFS] gain for I1 element\n@instrument@xafs@I1@element.amp_gain (optional · double)\nMisc: 配列の要素",
            "examples": [
             "1000000000"
            ],
            "type": [
             "number",
             "string",
             "null"
            ]
           },
           "amp_gain_unit": {
            "title": "[通常XAFS] I1検出器素子：ゲイン単位",
            "description": "[normal XAFS] gain unit for I1 element\n@instrument@xafs@I1@element.amp_gain_unit (optional · keyword)\nMisc: 配列の要素",
            "examples": [
             "V/A"
            ],
            "type": [
             "string",
             "number",
             "null"
            ]
           },
           "additional_metadata": {
            "title": "[通常XAFS] I1検出器素子：附加情報",
            "description": "[normal XAFS] additional_metadata for I1 element\n@instrument@xafs@I1@element.additional_metadata (optional · text)\nMisc: 配列の要素",
            "type": [
             "string",
             "number",
             "null"
            ]
           }
          }
         }
        }
       }
      },
      "I2": {
       "type": "object",
       "properties": {
        "element_number": {
         "title": "[通常XAFS] I2検出器素子数",
         "description": "[normal XAFS] element number for I2\n@instrument@xafs@I2@element_number (optional · integer)",
         "type": [
          "integer",
          "string",
          "null"
         ]
        },
        "element": {
         "title": "[通常XAFS] I2検出器素子配列",
         "description": "[normal XAFS] element array for I2\n@instrument@xafs@I2@element (optional · array)\nMisc: 配列",
         "type": "array",
         "items": {
          "type": "object",
          "properties": {
           "type": {
            "title": "[通常XAFS] I2検出器素子: 種類",
            "description": "[normal XAFS] detector type for I2 element\n@instrument@xafs@I2@element.type (optional · text)\nMisc: 配列の要素",
            "examples": [
             "IonChamber (30cm)"
            ],
            "type": [
             "string",
             "number",
             "null"
            ]
           },
           "gas": {
            "title": "[通常XAFS] I2検出器素子: ガス",
            "description": "[normal XAFS] gas for I2 element\n@instrument@xafs@I2@element.gas (optional · text)\nMisc: 配列の要素",
            "examples": [
             "N2 100%"
            ],
            "type": [
             "string",
             "number",
             "null"
            ]
           },
           "HV": {
            "title": "[通常XAFS] I2検出器素子：高電圧",
            "description": "[normal XAFS] HV for I2 element\n@instrument@xafs@I2@element.HV (optional · double)\nMisc: 配列の要素",
            "examples": [
             "1000"
            ],
            "type": [
             "number",
             "string",
             "null"
            ]
           },
           "HV_unit": {
            "title": "[通常XAFS] I2検出器素子：高電圧単位",
            "description": "[normal XAFS] HV unit for I2 element\n@instrument@xafs@I2@element.HV_unit (optional · keyword)\nMisc: 配列の要素",
            "examples": [
             "V"
            ],
            "type": [
             "string",
             "number",
             "null"
            ]
           },
           "amp_gain": {
            "title": "[通常XAFS] I2検出器素子：ゲイン",
            "description": "[normal XAFS] gain for I2 element\n@instrument@xafs@I2@element.amp_gain (optional · double)\nMisc: 配列の要素",
            "examples": [
             "1000000000"
            ],
            "type": [
             "number",
             "string",
             "null"
            ]
           },
           "amp_gain_unit": {
            "title": "[通常XAFS] I2検出器素子：ゲイン単位",
            "description": "[normal XAFS] gain unit for I2 element\n@instrument@xafs@I2@element.amp_gain_unit (optional · keyword)\nMisc: 配列の要素",
            "examples": [
             "V/A"
            ],
            "type": [
             "string",
             "number",
             "null"
            ]
           },
           "additional_metadata": {
            "title": "[通常XAFS] I2検出器素子：附加情報",
            "description": "[normal XAFS] additional_metadata for I2 element\n@instrument@xafs@I2@element.additional_metadata (optional · text)\nMisc: 配列の要素",
            "type": [
             "string",
             "number",
             "null"
            ]
           }
          }
         }
        }
       }
      }
     }
    },
    "analyzer": {
     "type": "object",
     "properties": {
      "pass_energy": {
       "title": "分析器のパスエネルギー",
       "description": "pass energy of analyzer\n@instrument@analyzer@pass_energy (optional · double)",
       "type": [
        "number",
        "string",
        "null"
       ]
      },
      "pass_energy_unit": {
       "title": "分析器のパスエネルギー単位",
       "description": "pass energy unit of analyzer\n@instrument@analyzer@pass_energy_unit (optional · keyword)",
       "examples": [
        "eV"
       ],
       "type": [
        "string",
        "number",
        "null"
       ]
      },
      "dwell_time": {
       "title": "分析器溜め込み時間",
       "description": "dwell time of analyzer\n@instrument@analyzer@dwell_time (optional · double)",
       "type": [
        "number",
        "string",
        "null"
       ]
      },
      "dwell_time_unit": {
       "title": "分析器溜め込み時間単位",
       "description": "dwelll time unit of analyzer\n@instrument@analyzer@dwell_time_unit (optional · keyword)",
       "examples": [
        "msec"
       ],
       "type": [
        "string",
        "number",
        "null"
       ]
      }
     }
    }
   }
  },
  "dataset": {
   "type": "object",
   "properties": {
    "file_caption_list": {
     "title": "ファイル説明のリスト",
     "description": "file caption list\n@dataset@file_caption_list (optional · array)\nMisc: @dataset@directory_list.file_list中のcaption指定を簡易に行います; ワイルドカードによるファイル名指定もできます",
     "examples": [
      "[[*.json,\"metadata\"], [\"*.dat\",\"data\"]]"
     ],
     "type": "array",
     "items": {}
    },
    "file_format_list": {
     "title": "ファイルフォーマットのリスト",
     "description": "file format list\n@dataset@file_format_list (optional · array)\nMisc: @dataset@directory_list.file_list中のformat指定を簡易に行います;ワイルドカードによるファイル名指定もできます",
     "examples": [
      "[[*.par, \"parameter\"]]"
     ],
     "type": "array",
     "items": {}
    },
    "directory_list": {
     "title": "ディレクトリリスト",
     "description": "directory list\n@dataset@directory_list (automatic · array)\nMisc: 配列",
     "type": "array",
     "items": {
      "type": "object",
      "properties": {
       "name": {
        "title": "ディレクトリ名",
        "description": "directory name\n@dataset@directory_list.name (automatic · keyword)\nMisc: 配列の要素",
        "type": [
         "string",
         "number",
         "null"
        ]
       },
       "caption": {
        "title": "ディレクトリ説明",
        "description": "directory caption\n@dataset@directory_list.caption (automatic · text)\nMisc: 配列の要素; 未使用",
        "type": [
         "string",
         "number",
         "null"
        ]
       },
       "time": {
        "title": "ディレクトリ時間",
        "description": "directory time\n@dataset@directory_list.time (automatic · date)\nMisc: 配列の要素; 未使用",
        "anyOf": [
         {
          "type": "string",
          "pattern": "^\\d{4}-(0[1-9]|1[0-2])-(0[1-9]|[12]\\d|3[01])([ T]([01]\\d|2[0-3]):[0-5]\\d(:[0-5]\\d(\\.\\d+)?)?(Z|[+-]([01]\\d|2[0-3]):?[0-5]\\d)?)?$"
         },
         {
          "type": "string"
         },
         {
          "type": "null"
         }
        ]
       },
       "uuid_name": {
        "title": "uuid化されたディレクトリのオブジェクト名",
        "description": "uuid name for directory object\n@dataset@directory_list.uuid_name (automatic · keyword)\nMisc: 配列の要素",
        "type": [
         "string",
         "number",
         "null"
        ]
       },
       "file_list": {
        "title": "各ディレクトリ毎のファイルリスト",
        "description": "file list for each directory\n@dataset@directory_list.file_list (automatic · array)\nMisc: 配列の要素",
        "type": "array",
        "items": {
         "type": "object",
         "properties": {
          "name": {
           "title": "ファイル名",
           "description": "filename\n@dataset@directory_list.file_list.name (automatic · keyword)\nMisc: 配列の要素",
           "type": [
            "string",
            "number",
            "null"
           ]
          },
          "caption": {
           "title": "ファイル説明",
           "description": "file caption\n@dataset@directory_list.file_list.caption (automatic · text)\nMisc: 配列の要素",
           "type": [
            "string",
            "number",
            "null"
           ]
          },
          "format": {
           "title": "ファイルフォーマット",
           "description": "file format\n@dataset@directory_list.file_list.format (automatic · keyword)\nMisc: 配列の要素; format = \"binary\" の際は、 zip 形式でdownloadする際にデフォルトで無圧縮zipを行います",
           "type": [
            "string",
            "number",
            "null"
           ]
          },
          "hash": {
           "title": "ファイルハッシュ値(md5)",
           "description": "file hash (md5)\n@dataset@directory_list.file_list.hash (automatic · keyword)\nMisc: 配列の要素",
           "type": [
            "string",
            "number",
            "null"
           ]
          },
          "time": {
           "title": "ファイル時間",
           "description": "file time\n@dataset@directory_list.file_list.time (automatic · date)\nMisc: 配列の要素",
           "anyOf": [
            {
             "type": "string",
             "pattern": "^\\d{4}-(0[1-9]|1[0-2])-(0[1-9]|[12]\\d|3[01])([ T]([01]\\d|2[0-3]):[0-5]\\d(:[0-5]\\d(\\.\\d+)?)?(Z|[+-]([01]\\d|2[0-3]):?[0-5]\\d)?)?$"
            },
            {
             "type": "string"
            },
            {
             "type": "null"
            }
           ]
          },
          "size": {
           "title": "ファイルサイズ",
           "description": "file size\n@dataset@directory_list.file_list.size (automatic · long)\nMisc: 配列の要素",
           "type": [
            "integer",
            "string",
            "null"
           ]
          },
          "uuid_name": {
           "title": "uuid化されたファイルのオブジェクト名",
           "description": "uuid name for file object\n@dataset@directory_list.file_list.uuid_name (automatic · keyword)\nMisc: 配列の要素",
           "type": [
            "string",
            "number",
            "null"
           ]
          }
         }
        }
       }
      }
     }
    }
   }
  },
  "system": {
   "type": "object",
   "properties": {
    "version": {
     "type": "object",
     "properties": {
      "agent": {
       "title": "agentバージョン名",
       "description": "version of agent\n@system@version@agent (automatic · keyword)",
       "examples": [
        "1.0.0"
       ],
       "type": [
        "string",
        "number",
        "null"
       ]
      },
      "data_register": {
       "title": "data_registerバージョン名",
       "description": "version of data_register\n@system@version@data_register (automatic · keyword)",
       "type": [
        "string",
        "number",
        "null"
       ]
      },
      "metadata": {
       "title": "メタデータバージョン名",
       "description": "version of metadata\n@system@version@metadata (automatic · keyword)",
       "type": [
        "string",
        "number",
        "null"
       ]
      }
     }
    },
    "parent_directory": {
     "title": "親ディレクトリ",
     "description": "parent directory\n@system@parent_directory (automatic · keyword)\nMisc: 検索用ととして内部利用しています",
     "type": [
      "string",
      "number",
      "null"
     ]
    },
    "uuid_register_directory": {
     "title": "ストレージでuuid化された登録ディレクトリ名",
     "description": "uuid for register directory in storage\n@system@uuid_register_directory (automatic · keyword)",
     "type": [
      "string",
      "number",
      "null"
     ]
    }
   }
  },
  "local": {
   "type": "object",
   "description": "施設ごとの独自項目（スキーマの外。自由に書ける） / facility-specific items"
  }
 },
 "required": [
  "data_info"
 ]
}