1Password · JSON Structure

1Password Connect File Structure

Represents a file attached to an item in a vault.

Type: object Properties: 6
Password ManagerPasswordsSecuritySecrets

File is a JSON Structure definition published by 1Password, describing 6 properties. It conforms to the https://json-structure.org/meta/core/v0/# meta-schema.

Properties

id name size content_path section content

Meta-schema: https://json-structure.org/meta/core/v0/#

JSON Structure

Raw ↑
{
  "$schema": "https://json-structure.org/meta/core/v0/#",
  "$id": "https://raw.githubusercontent.com/api-evangelist/1password/refs/heads/main/json-structure/1password-connect-file-structure.json",
  "name": "File",
  "description": "Represents a file attached to an item in a vault.",
  "type": "object",
  "properties": {
    "id": {
      "type": "uuid",
      "description": "The unique identifier for the file."
    },
    "name": {
      "type": "string",
      "description": "The name of the file."
    },
    "size": {
      "type": "int32",
      "description": "The size of the file in bytes."
    },
    "content_path": {
      "type": "string",
      "description": "The API path to retrieve the file content."
    },
    "section": {
      "$ref": "#/components/schemas/SectionRef"
    },
    "content": {
      "type": "string",
      "format": "byte",
      "description": "The base64-encoded file content, included when inline_files is true."
    }
  }
}