[All schemas](/reference/schemas/) · [API reference](/reference/) · [Data mapping guide](/guides/data-model/)

## Fields

| Field | Required | Type / allowed values |
| --- | --- | --- |
| `rips` | No | [RipsDraftPayload](/reference/schemas/rips-draft-payload/) |
| `attachedDocument` | No | [AttachedDocumentInput](/reference/schemas/attached-document-input/) |
| `sourcePackageId` | No | string or null |
| `ripsImportSource` | No | [RipsImportSource](/reference/schemas/rips-import-source/) |
| `inputProvenance` | No | [RipsInputProvenance](/reference/schemas/rips-input-provenance/) |

## JSON definition

The JSON retains the source contract descriptions. Do not translate property names or enum values.

```json
{
  "type": "object",
  "properties": {
    "rips": {
      "$ref": "#/components/schemas/RipsDraftPayload"
    },
    "attachedDocument": {
      "$ref": "#/components/schemas/AttachedDocumentInput"
    },
    "sourcePackageId": {
      "type": [
        "string",
        "null"
      ],
      "minLength": 1,
      "maxLength": 160,
      "pattern": "^[A-Za-z0-9._:-]+$",
      "description": "Identificador opaco."
    },
    "ripsImportSource": {
      "$ref": "#/components/schemas/RipsImportSource"
    },
    "inputProvenance": {
      "$ref": "#/components/schemas/RipsInputProvenance"
    }
  },
  "additionalProperties": false,
  "description": "Crea una revisión nueva. Invalida la validación de la revisión anterior."
}
```
