Juvenile idiopathic arthritis is the most frequently occurring group of chronic inflammatory systemic diseases of connective tissue observed in the developmental age, of unknown aetiology. Which of the following describes the criteria for diagnosing this condition: