Trelica · Schema

Trelica Contract

Schema for a software contract managed in Trelica

Contract ManagementIT ManagementLicense ManagementSaaS ManagementSoftware Asset Management

Properties

Name Type Description
id string Unique contract identifier
name string Contract name
vendor string Vendor or supplier name
applicationId string Associated application ID
startDate string Contract start date
endDate string Contract end date/renewal date
annualValue number Annual contract value
currency string Currency code
status string Contract status
lastModifiedDtm string Last modification timestamp
View JSON Schema on GitHub

JSON Schema

trelica-contract-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/trelica/main/json-schema/trelica-contract-schema.json",
  "title": "Trelica Contract",
  "description": "Schema for a software contract managed in Trelica",
  "type": "object",
  "properties": {
    "id": {
      "type": "string",
      "description": "Unique contract identifier"
    },
    "name": {
      "type": "string",
      "description": "Contract name"
    },
    "vendor": {
      "type": "string",
      "description": "Vendor or supplier name"
    },
    "applicationId": {
      "type": "string",
      "description": "Associated application ID"
    },
    "startDate": {
      "type": "string",
      "format": "date",
      "description": "Contract start date"
    },
    "endDate": {
      "type": "string",
      "format": "date",
      "description": "Contract end date/renewal date"
    },
    "annualValue": {
      "type": "number",
      "minimum": 0,
      "description": "Annual contract value"
    },
    "currency": {
      "type": "string",
      "description": "Currency code"
    },
    "status": {
      "type": "string",
      "enum": ["Active", "Expired", "Pending", "Cancelled"],
      "description": "Contract status"
    },
    "lastModifiedDtm": {
      "type": "string",
      "format": "date-time",
      "description": "Last modification timestamp"
    }
  },
  "required": ["id", "name"],
  "additionalProperties": true
}