# Artifacts

Artifacts can be represented as JSON files. JSON (JavaScript Object Notation) is a lightweight data-interchange format that is widely used for storing and exchanging structured data.

**Policy JSON File**: This file represents a policy and contains information such as the policy name, description, conditions, actions, parameters, and any associated metadata. It defines the rules and logic that need to be enforced. For example:

```
{
  "name": "Access Control Policy",
  "description": "Controls access to sensitive data",
  "conditions": {
    "userRole": "admin",
    "location": "internal"
  },
  "actions": {
    "blockAccess": true
  },
  "parameters": {
    "expirationDate": "2023-06-30"
  },
  "metadata": {
    "createdBy": "John Doe",
    "createdOn": "2023-05-31"
  }
}

```

**Workflow JSON File**: This file represents a workflow and defines the sequence of tasks or actions to be performed. It includes information such as task names, dependencies, triggers, and any associated data or parameters. For example:

```
{
  "name": "Employee Onboarding Workflow",
  "tasks": [
    {
      "name": "Assign Manager",
      "dependencies": [],
      "actions": [
        {
          "type": "assignUser",
          "user": "manager1"
        }
      ]
    },
    {
      "name": "Send Welcome Email",
      "dependencies": ["Assign Manager"],
      "actions": [
        {
          "type": "sendEmail",
          "to": "employee@example.com",
          "subject": "Welcome to the company!"
        }
      ]
    }
  ]
}

```


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://guardian.hedera.com/guardian-dev/guardian/standard-registry/artifacts.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
