{
  "type": "CatalogItem",
  "domain": "fieldservice",
  "description": "提供者が依頼を受ける品目の 1 つです。粗大ごみの品目と手数料の一覧の 1 行などにあたります。受けない品目も、どこへ持っていけばよいかと一緒に載せられます。作業時間、量、必要な技能を持たせると、依頼の値をここから計算できます。呼び名（label）と説明（note）は、複数の言語で書けます（LanguageProperty）。",
  "contextUrl": "https://datamodels.jp/context/fieldservice/v1.jsonld",
  "propertyDetails": {
    "label": {
      "ngsiType": "LanguageProperty",
      "valueType": "object",
      "example": {
        "languageMap": {
          "ja": "ソファー（2人以上用）、ソファーベッドなど",
          "en": "Sofa (two seats or more), sofa bed and the like"
        }
      },
      "required": true,
      "description": "呼び名。言語ごとに書きます（例：{\"ja\": \"ソファー（2人以上用）\", \"en\": \"Sofa (two seats or more)\"}）。日本語は提供者の一覧の書き方のままにします。",
      "@context": "http://www.w3.org/2000/01/rdf-schema#label"
    },
    "note": {
      "ngsiType": "LanguageProperty",
      "valueType": "object",
      "example": {
        "languageMap": {
          "ja": "2 人以上が座れるソファーと、ソファーベッドが対象です。",
          "en": "Sofas that seat two or more, and sofa beds."
        }
      },
      "required": false,
      "description": "品目の説明（何が対象かなど）。label と同じく、言語ごとに書きます（LanguageProperty）。",
      "@context": "https://datamodels.jp/ns/fieldservice/note"
    },
    "serviceCode": {
      "ngsiType": "Property",
      "valueType": "string",
      "example": "bulky-waste",
      "required": true,
      "description": "依頼の種類を表すコード（例：bulky-waste）。提供者が決めます。Open311 の service_code にあたります。",
      "@context": "https://datamodels.jp/ns/fieldservice/serviceCode",
      "validation": {
        "minLength": 1
      }
    },
    "localGovernmentCode": {
      "ngsiType": "Property",
      "valueType": "string",
      "example": "131016",
      "required": false,
      "description": "依頼を受け持つ自治体の全国地方公共団体コード（6 桁）。Open311 の jurisdiction_id にあたります。",
      "@context": "https://datamodels.jp/ns/common/localGovernmentCode",
      "validation": {
        "pattern": "^\\d{6}$"
      }
    },
    "provider": {
      "ngsiType": "Relationship",
      "valueType": "uri",
      "example": "urn:ngsi-ld:Organization:131016",
      "required": false,
      "description": "作業を引き受ける組織（自治体、委託先など）",
      "@context": "https://schema.org/provider"
    },
    "category": {
      "ngsiType": "Property",
      "valueType": "string",
      "example": "furniture",
      "required": false,
      "description": "分類。提供者の一覧の区分か、furniture、appliance などの短い語です。",
      "@context": "https://schema.org/category",
      "validation": {
        "minLength": 1
      }
    },
    "keywords": {
      "ngsiType": "Property",
      "valueType": "array",
      "example": [
        "ソファ",
        "sofa"
      ],
      "required": false,
      "description": "探すための語（別の呼び方など）",
      "@context": "https://schema.org/keywords",
      "validation": {
        "items": {
          "minLength": 1
        },
        "minItems": 1,
        "uniqueItems": true
      }
    },
    "accepted": {
      "ngsiType": "Property",
      "valueType": "boolean",
      "example": true,
      "required": true,
      "description": "この種類の依頼として受けるか。受けない品目は、alternative でどこへ持っていくかを示します。",
      "@context": "https://datamodels.jp/ns/fieldservice/accepted"
    },
    "alternative": {
      "ngsiType": "Property",
      "valueType": "string",
      "example": null,
      "required": false,
      "description": "受けない品目の出し方（家電リサイクル、販売店の引き取りなど）",
      "@context": "https://datamodels.jp/ns/fieldservice/alternative",
      "validation": {
        "minLength": 1
      }
    },
    "fee": {
      "ngsiType": "Property",
      "valueType": "number",
      "example": 1600,
      "required": false,
      "description": "手数料（priceCurrency の通貨で）",
      "@context": "https://datamodels.jp/ns/fieldservice/fee",
      "validation": {
        "minimum": 0
      }
    },
    "priceCurrency": {
      "ngsiType": "Property",
      "valueType": "string",
      "example": "JPY",
      "required": false,
      "description": "通貨（ISO 4217、例：JPY）",
      "@context": "https://schema.org/priceCurrency",
      "validation": {
        "pattern": "^[A-Z]{3}$"
      }
    },
    "sizeNote": {
      "ngsiType": "Property",
      "valueType": "string",
      "example": null,
      "required": false,
      "description": "大きさの条件。提供者の書き方のままです（例：幅90cm以下）。",
      "@context": "https://datamodels.jp/ns/fieldservice/sizeNote",
      "validation": {
        "minLength": 1
      }
    },
    "serviceDuration": {
      "ngsiType": "Property",
      "valueType": "string",
      "example": "PT8M",
      "required": false,
      "description": "現場での作業時間。ISO 8601 の期間（例：PT5M）。ルート最適化の service time にあたります。",
      "@context": "https://datamodels.jp/ns/fieldservice/serviceDuration"
    },
    "load": {
      "ngsiType": "Property",
      "valueType": "array",
      "example": [
        3
      ],
      "required": false,
      "description": "車両の積載量のうち、この作業で使う量。次元ごとの数で、次元と単位は提供者が決めて、車両の capacity と揃えます（例：容積を提供者が決めた点数で数える 1 次元）。ルート最適化の amount にあたります。",
      "@context": "https://datamodels.jp/ns/fieldservice/load",
      "validation": {
        "items": {
          "minimum": 0
        },
        "minItems": 1
      }
    },
    "skills": {
      "ngsiType": "Property",
      "valueType": "array",
      "example": [
        "two-person"
      ],
      "required": false,
      "description": "作業に必要なこと（例：two-person、carry-out）。ルート最適化の skills にあたり、車両や班の skills と照らし合わせます。語は提供者が決めます。",
      "@context": "https://datamodels.jp/ns/fieldservice/skills",
      "validation": {
        "items": {
          "minLength": 1
        },
        "minItems": 1,
        "uniqueItems": true
      }
    },
    "validFrom": {
      "ngsiType": "Property",
      "valueType": "date",
      "example": "2026-04-01",
      "required": false,
      "description": "この内容（手数料など）が有効になった日（RoadRestriction と同じ用語）",
      "@context": "https://smartdatamodels.org/validFrom"
    },
    "validTo": {
      "ngsiType": "Property",
      "valueType": "date",
      "example": null,
      "required": false,
      "description": "この内容が有効な最後の日（RoadRestriction と同じ用語）",
      "@context": "https://smartdatamodels.org/dataModel.Alert/validTo"
    },
    "source": {
      "ngsiType": "Property",
      "valueType": "string",
      "example": "https://www.city.chiyoda.lg.jp/koho/kurashi/gomi/wakekata/sodaigomi/index.html",
      "required": false,
      "description": "データの出典（URL など）",
      "@context": "https://smart-data-models.github.io/data-models/terms.jsonld#/definitions/source",
      "validation": {
        "minLength": 1
      }
    }
  },
  "additionalProperties": false
}
