{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/pipeliner/json-schema/pipeliner-create-currency-input-schema.json",
  "title": "createCurrencyInput",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/pipeliner-currency-api-openapi.yml#/components/schemas/createCurrencyInput",
  "properties": {
    "modified": {
      "type": "string",
      "format": "date-time",
      "description": "Last modification time.",
      "readOnly": true
    },
    "created": {
      "type": "string",
      "format": "date-time",
      "description": "Creation time.",
      "readOnly": true
    },
    "code": {
      "type": "string",
      "description": "Name of the entity and its default text representation."
    },
    "symbol": {
      "type": "string",
      "description": "Display symbol of the currency (e.g. \"$\", \"€\"). Used when formatting amounts in the UI."
    },
    "revision": {
      "type": "integer",
      "format": "int32",
      "description": "Revision when entity was lastly changed."
    },
    "currency_exchange_rates": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "format": "uri"
          }
        },
        "description": "Relation to CurrencyExchangeRate, see: 'createCurrencyExchangeRateInput' object for properties."
      },
      "description": "Exchange rates configured for this currency, one per exchange rate list (effective period)."
    }
  },
  "required": [
    "code",
    "currency_exchange_rates"
  ]
}