{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/oracle-planning/json-schema/oracle-planning-book-schema.json",
  "title": "Book",
  "description": "Management Reporting Book",
  "x-generated": "2026-11-25",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/oracle-planning-narrative-reporting-openapi.yml#/components/schemas/Book",
  "type": "object",
  "properties": {
    "bookId": {
      "type": "string",
      "readOnly": true
    },
    "name": {
      "type": "string",
      "readOnly": true
    },
    "description": {
      "type": "string",
      "readOnly": true
    },
    "createdBy": {
      "type": "string",
      "readOnly": true
    },
    "creationDate": {
      "type": "string",
      "format": "date-time",
      "readOnly": true
    },
    "modifiedDate": {
      "type": "string",
      "format": "date-time",
      "readOnly": true
    },
    "lastAccessed": {
      "type": "string",
      "format": "date-time",
      "readOnly": true
    },
    "pathName": {
      "type": "string",
      "readOnly": true
    },
    "systemPath": {
      "type": "string",
      "readOnly": true
    },
    "output": {
      "type": "array",
      "description": "A link to generate Book output in pdf or xlsx.",
      "readOnly": true,
      "items": {
        "$ref": "#/$defs/Link"
      }
    },
    "primaryDatasource": {
      "type": "string",
      "readOnly": true
    },
    "validationMessages": {
      "type": "array",
      "description": "The errors found when trying to validate the Book.",
      "readOnly": true,
      "items": {
        "type": "string"
      }
    },
    "datasourceNames": {
      "type": "array",
      "description": "The list of datasources referenced by this Book instance.",
      "readOnly": true,
      "items": {
        "type": "string"
      }
    },
    "globalPov": {
      "$ref": "#/$defs/ItemCollectionPOVDimension"
    },
    "links": {
      "type": "array",
      "readOnly": true,
      "items": {
        "$ref": "#/$defs/Link"
      }
    }
  },
  "$defs": {
    "ItemCollectionPOVDimension": {
      "type": "object",
      "properties": {
        "items": {
          "type": "array",
          "readOnly": true,
          "items": {
            "$ref": "#/$defs/POVDimension"
          }
        },
        "offset": {
          "type": "integer",
          "format": "int32",
          "readOnly": true
        },
        "limit": {
          "type": "integer",
          "format": "int32"
        },
        "count": {
          "type": "integer",
          "format": "int32",
          "readOnly": true
        },
        "hasMore": {
          "type": "boolean",
          "readOnly": true
        },
        "totalResults": {
          "type": "integer",
          "format": "int32"
        },
        "links": {
          "type": "array",
          "readOnly": true,
          "items": {
            "$ref": "#/$defs/Link"
          }
        }
      }
    },
    "Link": {
      "type": "object",
      "properties": {
        "rel": {
          "type": "string",
          "enum": [
            "self",
            "next",
            "prev",
            "first",
            "canonical",
            "parent"
          ]
        },
        "href": {
          "type": "string"
        }
      }
    },
    "POVDimension": {
      "type": "object",
      "properties": {
        "dimensionId": {
          "type": "string",
          "readOnly": true
        },
        "name": {
          "type": "string",
          "readOnly": true
        },
        "suggestedMembers": {
          "type": "array",
          "description": "The dimension's members suggested for use when executing the Report.",
          "readOnly": true,
          "items": {
            "$ref": "#/$defs/POVMember"
          }
        },
        "links": {
          "type": "array",
          "readOnly": true,
          "items": {
            "$ref": "#/$defs/Link"
          }
        },
        "hidden": {
          "type": "boolean",
          "readOnly": true
        },
        "fixedSelection": {
          "type": "boolean",
          "readOnly": true
        }
      },
      "description": "A Dimension that has a set of members to select from for Report execution."
    },
    "POVMember": {
      "type": "object",
      "properties": {
        "memberId": {
          "type": "string",
          "readOnly": true
        },
        "name": {
          "type": "string",
          "readOnly": true
        },
        "alias": {
          "type": "string",
          "readOnly": true
        },
        "links": {
          "type": "array",
          "readOnly": true,
          "items": {
            "$ref": "#/$defs/Link"
          }
        }
      },
      "description": "A member that can be selected as part of the point of view or as the value for a Report prompt."
    }
  }
}